{{#if this.model}}
  <table class="table discourse-subscriptions-user-table">
    <thead>
      <th>{{i18n "discourse_subscriptions.user.payments.id"}}</th>
      <th>{{i18n "discourse_subscriptions.user.payments.amount"}}</th>
      <th>{{i18n "discourse_subscriptions.user.payments.created_at"}}</th>
    </thead>
    <tbody>
      {{#each this.model as |payment|}}
        <tr>
          <td>{{payment.id}}</td>
          <td>{{format-currency payment.currency payment.amountDollars}}</td>
          <td>{{format-unix-date payment.created}}</td>
        </tr>
      {{/each}}
    </tbody>
  </table>
{{else}}
  <div class="alert alert-info">
    {{i18n "discourse_subscriptions.user.payments_help"}}
  </div>
{{/if}}